(function (mt) {

    mt.customcode = {
        getCurCodeByCode: function (code, isupdate) {
            var curcode = "";
            meeting.ajax(meeting.webSite.fullhost() + "/customcode/getcurcodebycode", function (result) {
                curcode = result.message;
            }, {
                async: false,
                data: {
                    code: code,
                    isupdate: isupdate == true ? 1 : 0
                }
            }, null, 0)

            return curcode;
        }
    }
})(meeting)